@font-face {
	font-family: 'Linearicons-Free';
	src:url('../fonts/Linearicons-Free.eot?w118d');
	src:url('../fonts/Linearicons-Free.eot?#iefixw118d') format('embedded-opentype'),
		url('../fonts/Linearicons-Free.woff2?w118d') format('woff2'),
		url('../fonts/Linearicons-Free.woff?w118d') format('woff'),
		url('../fonts/Linearicons-Free.ttf?w118d') format('truetype'),
		url('../fonts/Linearicons-Free.svg?w118d#Linearicons-Free') format('svg');
	font-weight: normal;
	font-style: normal;
}
* {
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
img {
    vertical-align: middle;
}
.clearfix::after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0
}
.clearfix {
    *zoom: 1
}

.index_page {
    min-width: 320px;
    max-width: 540px;
    margin: 0 auto;
}

/* search模块 */
.search {
    position: fixed;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 540px;
    height: 44px;
    transition: all .5s;
    z-index: 999;
}
.search_box {
    position: relative;
    flex: 1;
    height: 28px;
    line-height: 28px;
    background-color: white;
    box-sizing: border-box;
    border-radius: 15px;
    margin-left: 12px;
    color: #666666;
    padding-left: 40px;
    font-size: 0.94rem;
}
.search_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 28px;
    background: url(../images/home-common-sprite2x@v7.15.png) no-repeat 15px 7px;
    background-size: 21px auto;
}
.search a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 44px;
    box-sizing: border-box;
    font-size: .75rem;
    color: #fff;
}
.search i {
    width: 22px;
    height: 22px;
    background: url(../images/home-common-sprite2x@v7.15.png) no-repeat 1px -35px;
    background-size: 21px auto;
}

/* header模块 */
header {
    position: relative;
    width: 100%;
   height: 180px; 
    overflow: hidden;
    background-color: #f2f2f2;
    z-index: -1;
}
.wrap {
    width: 100%;
    height: 100%; 
    background: url(../images/banner.jpg) no-repeat bottom;
    background-size: 100% auto;
}
@media screen and (min-width: 400px) {
    header {
        height: 250px;
    }
}
.img_wrap_mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    z-index: 11;
    width: 100%;
    max-height: 36px;
}

/* local nav模块 */
nav {
    border-radius: 8px;
    background-color: #fff;
    padding: 5px 0;
    margin: -50px 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    max-width: 540px;
}
nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
}
nav ul li {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
nav ul li a {
    font-size: .75rem;
    color: #222;
}
nav ul li:nth-child(1) a::before,
nav ul li:nth-child(2) a::before,
nav ul li:nth-child(3) a::before,
nav ul li:nth-child(4) a::before,
nav ul li:nth-child(5) a::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: url(../images/home-fivemain-sprite2x@v7.15.png) no-repeat 0px 0px;
    background-size: 40px auto;
    margin: 0 auto;
}
nav ul li:nth-child(2) a::before {
    background: url(../images/home-fivemain-sprite2x@v7.15.png) no-repeat 0px -40px;
    background-size: 40px auto;
}
nav ul li:nth-child(3) a::before {
    background: url(../images/home-fivemain-sprite2x@v7.15.png) no-repeat 0px -80px;
    background-size: 40px auto;
}
nav ul li:nth-child(4) a::before {
    background: url(../images/home-fivemain-sprite2x@v7.15.png) no-repeat 0px -120px;
    background-size: 40px auto;
}
nav ul li:nth-child(5) a::before {
    background: url(../images/home-fivemain-sprite2x@v7.15.png) no-repeat 0px -160px;
    background-size: 40px auto;
}

/* nav模块 */
.nav {
    margin: 10px 12px 1px;
}
.nav a {
    font-size: 14px;
    color: #fff;
    padding: 1.6rem 0;
    border-right: 1px solid #fff;
    line-height: 14px;
}
.hotel {
    display: flex;
    flex-direction: row;
    border-radius: 8px 8px 0 0 ;
    background: linear-gradient(to right,#fa5956,#fb8650  54%);
    border-bottom: 1px solid #fff;
}
.travel a:nth-child(1),
.flight a:nth-child(1),
.hotel a:nth-child(1) {
    width: 30%;
    padding-left: 12px;
}
.travel a:nth-child(2),
.flight a:nth-child(2),
.hotel a:nth-child(2) {
    width: 23%;
    text-align: center;
}
.travel a:nth-child(3),
.flight a:nth-child(3) {
    width: 23%;
    text-align: center;  
}
.travel a:nth-child(4),
.flight a:nth-child(4) {
    width: 24%;
    border: 0;
    text-align: center;  
}
.hotel a:nth-child(1){
    background: url(../images/grid-nav-items-hotel@v7.15.png) no-repeat bottom right;
    background-size: 73px auto;
}
.hotel a:nth-child(2){
    background: url(../images/grid-nav-items-minsu@v7.15.png) no-repeat bottom left;
    background-size: 37px auto;
}
.hotel a:nth-child(3){
    position: relative;
    width: 47%;
    text-align: center;
    color: #a05416;
    /* border: 0;   */
    border-radius: 0 8px 0 0;
    background: linear-gradient(to right,#ffbc49,#ffd252);
}
.hotel a:nth-child(3) span {
    position: relative;
    z-index: 99;
}
.hotel a:nth-child(3)::after{
    content: '';
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/grid-nav-items-hot.png) no-repeat bottom right;
    background-size: 100% auto;
    z-index: 1;
}
.flight {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #fff;
    background: linear-gradient(to right,#4b8fed,#53bced);
}
.flight a:nth-child(1){
    background: url(../images/grid-nav-items-flight@v7.15.png) no-repeat bottom right;
    background-size: 73px auto;
}
.flight a:nth-child(2){
    background: url(../images/grid-nav-items-train.png) no-repeat bottom left;
    background-size: 37px auto;
}
.travel {
    display: flex;
    flex-direction: row;
    border-radius:  0 0 8px 8px ;
    background: linear-gradient(to right,#34c2aa,#6cd557);
}
.travel a:nth-child(1){
    background: url(../images/grid-nav-items-travel@v7.15.png) no-repeat bottom right;
    background-size: 73px auto;
}
.travel a:nth-child(2){
    background: url(../images/grid-nav-items-dingzhi@v7.15.png) no-repeat bottom left;
    background-size: 37px auto;
}

/* subnav-entry模块 */
.subnav-entry {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
    margin: 0 12px 12px ;
}
.subnav-entry li {
    flex: 20%;
}
.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .63rem;
    color: #222;
}
.subnav-icon {
    display: block;
    width: 28px;
    height: 28px;
    margin: .63rem 0 .31rem 0;
}
.subnav-entry li:nth-child(1) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png);
    background-size: 28px auto;
}
.subnav-entry li:nth-child(2) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -28px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(3) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -56px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(4) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -84px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(5) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -112px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(6) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -140px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(7) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -168px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(8) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -196px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(9) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -224px;
    background-size: 28px auto;
}
.subnav-entry li:nth-child(10) a .subnav-icon {
    background: url(../images/un_ico_subnav2x@v7.152.png) 0 -252px;
    background-size: 28px auto;
}

/* hot_activity模块 */
.hot_activity {
    margin-bottom: 8px  ;
}
.hot_hd {
    position: relative;
    height: 44px;
    line-height: 44px;
    padding: 0 8px;
    background: #fff;
    border-top: 1px solid rgb(231, 229, 229);
    border-bottom: 1px solid rgb(241, 239, 239);
    /* box-shadow: 0 1px 3px rgba(0,0,0,.08); */
}
.hot_hd h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 79px;
    height: 15px;
    background: url(../images/un_home_text.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.hot_hd h2 i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 90px;
    width: 36px;
    height: 15px;
    border-radius: 4px;
    background: url(../images/icon-gg@2x.png) no-repeat;
    background-size: 36px auto;
}
.hot_hd a {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    line-height: 20px;
    padding: 0 1.15rem 0 .75rem ;
    font-size: .75rem;
    color: #fff;
    background: linear-gradient(to right,#ff4e63,#ff6cc9);
    border-radius: 10px;
}
.hot_hd a::after {
    content: '';
    position: absolute;
    top: 5px;
    width: 7px;
    height: 7px;
    border: 2px solid ; 
    transform: rotate(45deg);
    border-left: 0;
    border-bottom: 0;
}

.row {
    display: flex;
    margin-top: 1px;
    width: 100%;
    border-top: 1px solid rgb(241, 239, 239);
    border-bottom: 1px solid rgb(241, 239, 239);
}
.row .activity_item {
    flex: 1;
    height: 81px;
}
.activity_item a {
    position: relative;
    display: block;
    height: 81px;
}
.activity_item a::after {
    content: '广告';
    position: absolute;
    bottom: -3px;
    left: -4px;
    font-size: 12px;
    color:#fff;
    padding: 2px 5px;
    background-color: rgba(0,0,0,0.28);
    border-radius: 0 4px 0 0;
    transform: scale(0.75);
}
.activity_item img {
    width: 100%;
    height: 100%;
}


/* footer模块 */
footer {
    margin: 10px 0;
    width: 100%;
    border-top: 1px solid rgb(241, 239, 239);
}
.tool-cn {
    display: flex;
    width: 100%;
    flex-direction: row;
}
.tool-cn a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #333;
    padding: 10px 0;
}
.tool-cn a svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
    fill: #999;
}
.tool-ver {
    text-align: center;
    color: #999;
}
.tool-ver a {
    color: #666;
    font-size: 12px;
    margin: 0 7px;
}
.tool-ver a:nth-child(2)::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border: 1px solid;
    border-top: 0;
    border-left: 0;
    margin-right: 10px;
    transform: translateY(-3px) rotate(45deg);
}
.tool-ver a:nth-child(2)::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url(../images/un_icon_sites.png) no-repeat 0 -160px;
    background-size: 30px auto;
    vertical-align: middle;
    margin-top: -3px;
}
footer p {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 5px 0;
}
footer p a {
    color: #999;
}

/* 底部广告模块 */
.p_slider_wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 540px;
    height: 65px;
    background: url(../images/top_n.png) no-repeat;
    background-size: 100% auto;
    margin: 0 auto;
}
.p_slider_wrap i {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background-color: rgba(0,0,0,.1);
    font-family: 'Linearicons-Free';
    font-style: normal;
    font-size: 18px;
    color: white;
    cursor: pointer;
}